#include "robot.h"
#include "map.h"
#include "world.h"
#include "enginemanager.h"
#include <iostream>
#include <string>
#include <vector>

using namespace std;


int main()
{
	string input;

	Map map(100,100);
	World world(&map);

	EngineManager manager(world,map);



	while(input != "quit")
	{
		cout << "Input command (new,start,quit):";
		cin >> input;
		if(input == "new")
		{
			manager.promptForNewRobot(true);
		}
		else if(input == "start")
		{
			manager.start();
		}
		else if(input == "quit")
		{
			break;
		}
		else
		{
			cout << "Invalid command" << endl;
		}
		cout << "-------------------------------------------------" << endl;

		manager.printAllRobotStatus();

		cout << "=================================================" << endl;
	}
return 0;
}
